export default function getLocalStorage (key, autoRemove = false) {
    const value = localStorage.getItem(key)
    if (autoRemove) localStorage.removeItem(key)
    return value
}